package cn.opopopo.design_pattern_learn.创建型.factory_method;

// 4. 具体工厂
class DogFactory extends AnimalFactory {
    public Animal createAnimal() {
        return new Dog();
    }
}
